package com.example.design.patterns.冰河.行为模式.迭代器模式.iterator;

/**
 *  Iterator 迭代器定义访问和遍历元素的接口
 */
public interface Iterator {
    Object next();

    void first();

    void last();

    boolean hasNext();
}
